<#-- @ftlvariable name="entity" type="com.xci.platform.auth.entity.DicDetailsEntity" -->
<#include "/_inc/_layout.ftl">
<#include "/auth/history/_history.ftl">
<@header/>
<div class="jxpanel jx-overflow-no winpanel" data-options="fit:true">
    <div class="jxtabs jxtabs-line" data-options="{fit:true}">
        <ul class="nav nav-tabs">
            <li class="active"><a href="#tab-basic" data-toggle="tab">基本信息</a></li>
            <li><a href="#tab-history" data-toggle="tab">操作日志</a></li>
        </ul>
        <div class="tab-content">
            <div id="tab-basic" class="tab-pane jx-overflow-auto fade in active">
                <table id="basic" class="table table-bordered jxtable-details">
                    <tr class="w-100px">
                        <th>字典编码</th>
                        <td>${entity.dicCode!?html}</td>
                    </tr>
                    <tr>
                        <th>字典</th>
                        <td>${entity.dicName!?html}</td>
                    </tr>
                    <tr>
                        <th>项名称</th>
                        <td>${entity.name!?html}</td>
                    </tr>
                    <tr>
                        <th>项值</th>
                        <td>${entity.value!?html}</td>
                    </tr>
                    <tr>
                        <th>排序路径</th>
                        <td>${entity.path!?html}</td>
                    </tr>
                    <tr>
                        <th>状态</th>
                        <td><@html.boolLabel value=entity.status /></td>
                    </tr>
                    <tr>
                        <th>操作人</th>
                        <td>${entity.operateUserName!?html}</td>
                    </tr>
                    <tr>
                        <th>操作时间</th>
                        <td>${helper.formatDateTime(entity.operateDateTime)!}</td>
                    </tr>
                    <tr>
                        <th>备注</th>
                        <td>${entity.remark!?html}</td>
                    </tr>
                </table>
            </div>
            <div id="tab-history" class="tab-pane jx-overflow-auto fade">
                <@histroy tableName="sys_dic_details" keyValue=entity.id/>
            </div>
        </div>
    </div>
</div>
<@footer>
<script>
    jx.auth.tabsAuthInit();
</script>
</@footer>
